package com.toKnow.model.entity;

import java.sql.Timestamp;

public class ArticleCommentPub {

    private Integer id;
    private Integer user_id;
    private Integer article_id;
    private String content;
    private Timestamp comment_date;
    private Integer like_number;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getArticle_id() {
        return article_id;
    }

    public void setArticle_id(Integer article_id) {
        this.article_id = article_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getComment_date() {
        return comment_date;
    }

    public void setComment_date(Timestamp comment_date) {
        this.comment_date = comment_date;
    }

    public Integer getLike_number() {
        return like_number;
    }

    public void setLike_number(Integer like_number) {
        this.like_number = like_number;
    }


    @Override
    public String toString() {
        return "ArticleCommentPub{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", article_id=" + article_id +
                ", content='" + content + '\'' +
                ", comment_date=" + comment_date +
                ", like_number=" + like_number +
                '}';
    }


}
